package com.jian.java.dao;

import com.jian.java.entities.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Jiange
 * @create 2021-05-30-15:10
 */
@Component
@Mapper
public interface DeptMapper {
    public boolean addDept(Dept dept);

    public Dept findById(int id);

    public List<Dept> findAll();
}
